﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Undsf.RmmvDbms.Attribute
{
    [AttributeUsage(AttributeTargets.Property, Inherited = false)]
    class EntityField : System.Attribute
    {
        public const int BasicTypeString = 1;
        public const int BasicTypeInteger = 2;
        public const int BasicTypeDouble = 3;
        public const int BasicTypeList = 4;
        public const int BasicTypeObjectId = 5;

        public const int ObjectTypeActor = 11;
        public const int ObjectTypeClass = 12;
        public const int ObjectTypeSkill = 13;
        public const int ObjectTypeItem = 14;
        public const int ObjectTypeWeapon = 15;
        public const int ObjectTypeArmor = 16;
        public const int ObjectTypeEnemy = 17;
        public const int ObjectTypeTroop = 18;
        public const int ObjectTypeState = 19;
        public const int ObjectTypeAnima = 20;
        public const int ObjectTypeTileset = 21;
        public const int ObjectTypeEvent = 22;

        public const int ObjectTypeAction = 101;
        public const int ObjectTypeDamage = 102;
        public const int ObjectTypeDrop = 103;
        public const int ObjectTypeEffect = 104;
        public const int ObjectTypeSoundEffect = 105;
        public const int ObjectTypeTiming = 106;
        public const int ObjectTypeTrait = 107;

        public const int ObjectTypeEquip = 201;

        public int Index { get; set; }
        public string Name { get; set; }
        public int BasicType { get; set; }
        public int ObjectType { get; set; }
    }
}
